﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Disk
{
    class Filess
    {
        public Filess() 
        {
            Kind = _kind;
        }
        public string _kind { get; set; }

        public string Filename { get; set; }
        public string Fileaddress { get; set; }
      
        public int FileID { get; set; }
        public int UserID { get; set; }

          public string Kind
        {
            set
            {
                _kind = value;

            }
            get
            {
                if (_kind == "1")
                {
                   return "文档";
                }
                if (_kind == "2")
                {
                    return "视频";
                }
                if (_kind == "3")
                {
                    return "音乐";
                }
                if (_kind == "4")
                {
                    return "图片";
                }
                return "";
            }
        }
   
    }
}
